#ifndef USART_H
#define USART_H


#define F_OSC 1000000
#define UART_BAUD_RATE 2400
#define UART_BAUD_CALC(UART_BAUD_RATE,F_OSC) ((F_OSC)/((UART_BAUD_RATE)*16l)-1)

volatile unsigned char data;

void USART_Transmit_s( char *s );
unsigned char USART_Receive( void );
void USART_Transmit( unsigned char data );
void USART_init(void);

#endif